export secretvalue="KcMifZWnjI57G8zEtwoANgg8zJA5UnYE"
export username="policy"
export password="test"
export realms="lntu"
export client_id="minio"

curl -d "client_id=${client_id}" \
    -d "client_secret=${secretvalue}" \
    -d "grant_type=password" \
    -d "username=${username}" \
    -d "password=${password}" \
    http://keycloak.youling.io/realms/${realms}/protocol/openid-connect/token
